package com.cskt.itripsearch.service;

import com.cskt.itripsearch.condition.SearchHotCondition;
import com.cskt.itripsearch.vo.HotelVO;

import org.springframework.data.domain.Page;

import java.util.List;

public interface SearchHotelService {
    /**
     * 根据热门城市查询酒店
     * @param cityId
     * @param pageSize
     * @return
     */
    List<HotelVO> searchHotelByHotCity(Long cityId, Long pageSize);

    /**
     * 搜索酒店
     * @param condition
     * @return
     */
    Page<HotelVO> searchHotelPage(SearchHotCondition condition);

}
